'''
Created on 2012-10-20

@author: trb
'''

#if __name__ == '__main__':
#    pass

import http.server
import socketserver

PORT = 8000



class SinHttp(http.server.SimpleHTTPRequestHandler):
    def do_GET(self):
        """Serve a GET request."""
        print('get')

Handler = SinHttp

httpd = socketserver.TCPServer(("0.0.0.0", PORT), Handler)

print("serving at port", PORT)
httpd.serve_forever()
